package com.fbs.wowo.util.rongcloud;

import io.rong.messages.BaseMessage;
import io.rong.util.GsonUtil;

public class TransferMessage extends BaseMessage {

    private transient static final String TYPE = "TransferMsg";

    private String asset;   // 发送金额
    private String tip;

    public TransferMessage(String asset, String tip) {
        this.asset = asset;
        this.tip = tip;
    }

    @Override
    public String getType() {
        return TYPE;
    }

    @Override
    public String toString() {
        return GsonUtil.toJson(this, TransferMessage.class);
    }

    public String getAsset() {
        return asset;
    }

    public void setAsset(String asset) {
        this.asset = asset;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }
}
